package com.tma.timesheettracker.model;

import java.io.Serializable;
import java.util.Date;

public class TrackingEntry implements Serializable {

	private static final long serialVersionUID = 1L;

	private int id;
	private int user_id;
	private int task_id;
	private Date date;
	private int duration;

	public TrackingEntry() {

	}

	public TrackingEntry(int user_id, int task_id, Date date, int duration) {
		this.setUser_id(user_id);
		this.setTask_id(task_id);
		this.setDate(date);
		this.setDuration(duration);
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public int getDuration() {
		return duration;
	}

	public void setDuration(int duration) {
		this.duration = duration;
	}

	public int getUser_id() {
		return user_id;
	}

	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}

	public int getTask_id() {
		return task_id;
	}

	public void setTask_id(int task_id) {
		this.task_id = task_id;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}
}
